package com.ynet.middleground.user.bean;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: 2019-10-12_userCenter
 * @description: 删除机构/部门请求对象
 * @author: DaiGaoLe
 * @create: 2019-10-24 19:35
 **/
@Data
@ApiModel(value = "删除机构、部门请求对象", description = "删除机构、部门请求对象")
public class DeleteOrganizationalStructureReq extends BaseReqObj {

    private static final long serialVersionUID = 2997969295762336606L;
    /**
     * 机构/部门id
     */
    @NotNull(message = "机构、部门id不能为空")
    @ApiModelProperty(value = "机构、部门id不能为空", notes = "机构、部门id不能为空", dataType = "Integer", required = true)
    private Integer organizationalId;

    @ApiModelProperty(value = "业态公司id", notes = "业态公司id", dataType = "Integer")
    private Integer formatId;
}
